﻿using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GN.Pay.Client.Commands
{
    /// <summary>
    /// 
    /// </summary>
    class ExitCommand : ACommand
    {
        public override string CommandCode
        {
            get
            {
                return "exit";
            }
        }

        public override string CommandHelpExplain
        {
            get
            {
                return "退出程序";
            }
        }

        public override void SendCommand(string args)
        {
            Process.GetCurrentProcess().Kill();
        }
    }
}
